
package usyd.comp5348;

import javax.ejb.Remote;
import usyd.comp5348.CustomerInfo;


/**
 * This is the business interface for Customer enterprise bean.
 */
@Remote
public interface CustomerRemote {
    int createCustomer(CustomerInfo customer) throws CustomerException;

    CustomerInfo getCustomerById(int id) throws CustomerException;

    void deleteCustomer(int id) throws CustomerException;

    void modifyCustomer(CustomerInfo customer) throws CustomerException;
    
}
